
package com.ibeeking.found.report.rest.service;

import com.ibeeking.found.report.service.common.dos.ReportShareDO;
import com.ibeeking.found.report.service.common.param.ReportShareParam;
import com.ibeeking.found.report.service.common.query.ReportSharePageQuery;
import com.ibeeking.found.report.service.common.vo.ReportShareVO;

/**
* @desc ReportShare 报表分享服务接口
* @author Raod
* @date 2021-08-18 13:37:26.663
**/
public interface IReportShareService extends IBaseService<ReportSharePageQuery, ReportShareDO> {

    /***
     * 查询详情
     *
     * @param id
     * @return
     */
    ReportShareDO getDetail(Long id);

    ReportShareVO insertShare(ReportShareParam dto);

    ReportShareDO detailByCode(String shareCode);

    /**
     * 延期过期时间
     * @param dto
     */
    void shareDelay(ReportShareParam dto);
}
